Connection flight in munich

Hello,

Im planning a trip to Cairo and im looking for the best flight, price and quality wise.The best one i got is with lufthansa, thu munich. I was wondering if anyone can tell how how the connection flights work in munich airport. How long do i need to get to my next flight? Is 2h enough?