Most restaurants and bars are fine. As long as its a clean "mainstream" restaurant you should be fine. Its the street vendors and kiosk type things that you have to worry about. A main rule to think about is - don't drink anything from a bottle or can. Pour it into a clean glass with very little ice. Personally i would not drink tap water in Mexico stick with bottled water when in port.