Ist pregnancy I gave up caffiene totally until I was about 7 months.
This time I started having one cup of brewed coffee in the morning again at about 14 weeks, once the morning sickness stopped.
But I have also been told just to keep it under three cups a day.