At least three dead in tech hub during violence over a reported derogatory post about the Prophet Muhammad, police say.