If i store in EEPROM then i am using the analogeRead(0). This cant be can it?
Yes, it can't be
Have a look at the EEPROM example sketches to see how to read and write EEPROM. But I suggest you do the EEPROM part last. Get the core functionality working first. I suggest you write a function in your sketch (call it something like logEntry) where you pass the keycode (or index) and it displays the information on the Serial monitor. When you have the data capture working correctly you can add the EEPROM interface.
It would help us to help you if you said a little more about what the sketch needs to do. There was a question asked in the previous post regarding data entry that I would be interested in reading the answer.