Tea while ttc

Do you drink tea/coffee while ttc? Did you still get pregnant or does it cause infertility?