When expecting a baby, it might be a good idea to kick that daily caffeine fix as a recent study showed a connection between miscarriages and the caffeine habits of both men and women before during pregnancy.

Daily Caffeine Consumption Leads to a Higher Possibility of Miscarriage

This new study included 344 couples in Texas and Michigan who were observed as they were trying to conceive.

One of the most significant findings to come out so far is the negative effect of heavy caffeine consumption on pregnancies. The study revealed that expecting parents who drink three or more cups of caffeinated drinks -- before or after conception -- increase the risk of early pregnancy loss by a large margin of 74 percent. This includes drinks such as coffee, sodas and energy drinks.

It's not only one of the most detailed studies to connect caffeine consumption with pregnancy loss, but also among the first to note the effect of what men eat and drink on the safety of the baby.

Germaine Buck Louis of the National Institute of Child Health and Human Development led the study and confirmed the findings in a report from NBC News.

"Our findings also indicate that the male partner matters, too," he pointed out. "Male preconception consumption of caffeinated beverages was just as strongly associated with pregnancy loss as females'."

Meanwhile, Dr. Zev Williams of the Albert Einstein College of Medicine and a spokesman for the American College of Obstetricians and Gynecologists explained that men and women should remember that taking one to two cups of coffee daily is okay.

"And what I do end up seeing not infrequently, an effort to really be as thorough as possible, a lot of women will go cold turkey on caffeine," Williams continued. "And what ends up happening is invariably these women will then develop rebound headaches and take medications to treat the headaches. Those medications may be harmful."

Multivitamins Help Reduce Risks

Meanwhile, the study also highlighted the importance of taking multivitamins as women who do so before and early in the pregnancy cut the likelihood of miscarriage by about 50 percent. Louis revealed that the team was surprised at how much the risks were limited by taking multivitamins.

According to the Centers for Disease Control and Prevention, women who are planning to have a baby should take folic acid and a type of B vitamin. Physicians often recommend a special prenatal vitamin.

Another study also showed that women can increase their chances of pregnancy by losing as little as 5 percent of weight.