Caffeine

Caffeine while pregnant? 9 wks today and quit nicotine cold turkey when I found out but I NEED my Dr Pepper. Already saw baby and heart rate was 171