The Ministry of Defence (MoD) will receive a funding boost to support Britain's armed forces.