I'm very new and have only been playing a week. I started out with one female Sim, eventually got her married, and after a couple of unsuccessful attempts to get pregnant decided to go for fertility treatment. By this stage I was getting worried that the parents, who were approaching full Adult status, might be pretty old by the time any children were fully grown.
Anyway, the result was twins, one girl and one boy. I didn't do anything special to make this happen, and I certainly couldn't tell you what the mother ate beforehand.
Interestingly enough, the older twin, Holly, matured to become a toddler the day before her brother, Thomas. As far as I remember they were both born around 2-3am at the hospital. I did take a rather long time deciding on traits for Holly before the second child window popped up, so maybe that has something to do with the difference in birthdays...