There is no safe level of caffeine for pregnant women as it causes an increased risk of having five least desired outcomes: miscarriage, stillbirth, low birth weight and/or small for gestational age, childhood acute leukaemia, and childhood overweight and obesity.
This includes drinking soft drinks, tea and chocolate, meaning less than 1 cup of coffee is recommended a day.
But it should be completely cut out to avoid any risks.
Article: https://www.theguardian.com/lifeandstyle/2020/aug/24/no-safe-level-coffee-drinking-pregnant-women-study-says?CMP=Share_iOSApp_Other
Study: http://press.psprings.co.uk/ebm/august/ebm111432.pdf