Under the Old Covenant made with Israel at Sinai there were dietary restrictions. The details of which are given in Leviticus 11. The purpose of these restrictions was to teach Israel spiritual principles.
For example: they could eat animals that ‘divided the hoof’ (were cloven footed), and also ‘chewed the cud’ (regurgitated and rechewed their food).
The spiritual principles signified were to rightly divide the word of God and to spend time meditating upon it.
Under the New Covenant made by baptism into Christ there are no dietary restrictions.
1 Timothy 4:4 For every creature of God is good, and nothing to be refused, if it be received with thanksgiving:
There are no restrictions on what we can drink, only that we should not drink alcohol with the purpose of becoming drunk.
Ephesians 5:18 And be not drunk with wine, wherein is excess…
There is certainly no prohibition on tea or coffee.
I hope you find this helpful.
God bless,
Glenn