Cycles Green screen?
This is what the Holdout shader is for:



This shader affects the alpha channel when Transparent is enabled in Render settings > film.

If you really want to create an actual "greenscreen", then see Node for setting render colour, regardless of lighting