More than 10,000 civil servants could lose their jobs after ministers were told to make savings of 5%, Sky News has learned.