After the meeting between their leaders, the two sides signed four pacts, including one for air services and cooperation in merchant shipping.
At a joint media event with the Cypriot leader, Mr Modi said India has always stood with Cyprus on crucial issues and firmly supports its sovereignty, unity and territorial integrity.
Noting that they had "detailed discussion" on bilateral as well as regional and international issues of mutual interest, PM Modi said, "We agreed on the need for all countries to decisively act against states that generate, support, shelter and sustain violence factories in our regions."
Earlier, External Affairs Minister Sushma Swaraj called on the Cypriot president, and discussed areas of bilateral cooperation.
Earlier, Mr Anastasiades was accorded a ceremonial welcome at Rashtrapati Bhavan today.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.