Prime Minister Narendra Modi spoke to HD Kumaraswamy and congratulated him on taking oath as Chief Minister of Karnataka.