You should have your data in this kind of format:
In this case subject 1 was followed for 27 days (or months or whatever) and then died, whereas subject 2 was followed for 84 days and at the end was still alive, ie they were censored at 84 days.
Then it's simply a case of telling your stats package which variable is the time variable and which is the "failure" (death etc) variable. In SPSS you can do this in Analyze -> Survival -> Kaplan-Meier survival analysis. I haven't used Epi info so I can't tell you how to do it there.