it is safe, like any big city you need to be street savvy (don't carry flashy valuables etc), but if you go during the day you'll be fine.
the things to see outside the city center - like giraffe center and david sheldrick are absolutely safe - there'll be very many tourists there