BP has signed an agreement with Mauritania to explore ways to develop low-carbon hydrogen on a large scale in the West African.