JCB will take 10% of the green hydrogen made by Australian mining company Fortescue Future Industries.