Indian authorities have imposed a curfew in a city after clashes sparked by Hindu groups demanding the removal of the tomb of a 17th-century Muslim ruler.