The cause of most miscarriages is a chromosomal abnormality in the fetus.
One in five pregnancies ends in miscarriage. The chance of another miscarriage after two miscarriages isn't any higher. The odds are still in your favor that the fetus will be normal. However, sometimes parents carry a chromosomal re-arrangement which increases the risk of a miscarriage. Talk to your doctor.