Dinky and Sparkler aren't their biological kids, They were created via genetic loom( like Jenny in " the Doctor's Daughter") on one of Doctor and Derpy's adventures, maybe the same thing happened to the Doctor and created Doctor jr. I don't really see Doctor and Derpy making whoopee, so I'll stick with that explanation.