Sorry to add to old thread but this is very common question and misconception
Stick to bottled water (making sure that seal is from reputable source)
Also watch water in your food
Panipuri is a risk.
Coconut water directly from coconut is not..
Freshly prepared idlis are fine, one day old chutney may not be.
Freshly prepared boiled tea is fine, water droplets leftover on the rim of the cup after questionable washing, may not be.
If typhoid vaccine is guaranteed to give you bad reaction then it is safer to skip and take extra precautions in what you eat/drink.