The military uses the same W-2 form as the IRS. Which EIN are you looking for, the federal or the state? The state employer number should be located in box 15.
Or are you referring to a retirement/pension which is not reported on a W-2 but on a Form 1099-R?