Prime Minister Narendra Modi said Friday that a spate of rape cases had shamed India as he urged parents to take responsibility for the actions of their sons.