Metro cities like Bengaluru and Mumbai have been without elected mayors for years.