Separate names with a comma.
The game will not prompt you or ask you for any referral code on its own. You have to go to the left of the main screen (colony, it is called) and...