Terrorism and Afghanistan were the focus points of Prime Minister Narendra Modi's talks with Uzbek President Islam Karimov on his first visit to Central Asia.