Prime Minister Narendra Modi today returned home after wrapping up his two-day visit to Bangladesh during which the two countries signed 22 pacts to deepen cooperation besides ratifying the historic Land Boundary Agreement.