West Yorkshire is set to receive more than £20 million of investment as part of a governmental 'inactivity trailblazer' campaign.