Algeria's state oil company Sonatrach has signed a memorandum with ExxonMobil to develop two gas fields in the North African country.