Are you sure you want to use the onboard EEPROM with the touch sensor? Why? what exactly are you trying to do?
If you do want to use the EEPROM, there are many examples that come with the IDE (File -> Examples -> EEPROM) that will show you how to use it. You can treat it like an array.
"doesn't work" is the worst possible description for describing a problem. What do you expect the code to do? What is it doing that you don't want?
Also, it's best not to use pin 0 and pin 1 since those are the tx/rx pins for the serial monitor. It can be really useful to print out debugging messages and variables and all sorts of valuable information.
If you are just saving the state of a button (0/1) then you can access EEPROM memory as if it is an array of bytes:
Note that the number of times you can write to a given location in EEPROM is something like 100k writes. It sounds like a lot, but if you doing it every time through loop(), you will get there quickly.