The UK government has set out its measures to reach carbon-free shipping by 2050.