Co sleeping

Just found out we arw expecting baby number 2 my son is 2 and he co sleeps with us he needs to lay on me to fall asleep. Any advice on how to get him to sleep in his own room it's going to be rough for the both of us.