Oh no! This is a difficult situation. You can consume about 200mg of caffeine safely during pregnancy per day.
That would be 2 mugs of instant coffee or 1 mug of filter coffee.
If you want, you can have a cup of decaf coffee/tea for the cravings. Hope this helps.
Shim Loloy