All the children had to come from somewhere.
This question was asked before. /u/vertexoflife provided a thorough answer: https://www.reddit.com/r/AskHistorians/comments/2r4sq7/how_did_couples_with_children_have_sex_in_one/
TLDR: they just had sex with the children present