Just be honest and specific as possible about what you can and cannot eat or drink in your request.

It's better to mention these details especially before the hosts start thinking of a menu since lack of communication might lead to misunderstanding or dissapointment.

Not wanting caffeine in your menu for instance may not be well known dietary requirement so the host might prepare a green tea dessert cake for you without knowing so be sure to share as much as possible.