Prime Minister Narendra Modi has begun a three-day visit to Poland and Ukraine, aiming to strengthen bilateral ties with both nations.