The government is aiming to cut roles in London by 12,000 and close 11 offices in the capital.