The Federal Government has been defending its AUKUS submarine pact, after criticism from former Prime Minister Paul Keating.