on the left side of your mac you have a button with 7 lights, if you push the button, are all the lights going on or is there just one blinking?
if there are more lights blinking the battery is working, in that case it's most likely there is something with the keyboard.
it is possible that the keyboard cable isn't connected properly or damaged. or that your keyboard has fluid damage.