BAE Systems is set to donate £300,000 over the next two years to the UK's leading veterans' charity.