You can train them to go into a particular coop at night.
To train them, keep them up in the coop for a day or two and they will usually figure it out which one is their sleeping spot.
If you don't want to keep them up for a few days, (or can't due to space limitation inside the coop) then put...