Pope Francis is set to make a gruelling trip to two African countries in July despite knee problems that have forced him.