Thanks for posting your query.
Drinking tea is not going to cause any harm during pregnancy
Since two cups is not much you can have with out hesitation.
Drinking tea in moderate amount is good for health since it provides anti oxidants which gives protection from cancers and is also good for heart.
Hope I have answered your query.
Wishing you good health.