Two French ministers left the government as President Macron is preparing a cabinet reshuffle.