Vatican officials said that Pope Francis had developed pneumonia in both lungs, further complicating the pontiff's recovery.