Pope Francis invoked the country's struggles against corruption and crime as he addressed a National Palace packed with politicians.