It's not unusual for hens to go off of egg laying a few days when relocated. How old are they? Moulting? When I 1st put youngsters in the coop, they will often pile up in a corner to sleep but after a few months they naturally begin to roost. Check the roosting bar to insure it is secure..not...
About the coop...chickens prefer to roost in a different location other than nest box. Most chickens use the nest box for laying eggs only. They should have a roosting bar ( or a couple) as well. If you don't have roosting bars..your chickens will be eternally grateful if you would accommodate...