Maternity care and newborn care — services provided before and after your child is born — are essential health benefits. This means all qualified health plans inside and outside the Marketplace must cover them.
All Marketplace and Medicaid plans cover pregnancy and childbirth. This is true even if your pregnancy begins before your coverage starts.

References

https://www.healthcare.gov/what-if-im-pregnant-or-plan-to-get-pregnant/