The pontiff's body will lie in St Peter's Basilica from Wednesday until Friday to allow mourners to pay their respects.