Drink bottled water and only eat freshly cooked food to avoid getting ill in India. Tap water can be contagious, as can any raw foods, as well as cooked foods that have been standing out for a while.