A mob in India beat to death two Muslims who were accused of trying to steal cows for slaughter, police say, the latest incident in a surge of violence blamed on hardline Hindu groups.