Macbook Pro buttons are pushed on their own
There is a very good chance that your battery must be replaced. Check it in Applications → Utilities → System Information → "Power": check the "battery condition": when it says "replace" or "service" replace it asap. Do not buy non-apple crap, they die faster than they are bought. In OWC there is a possibility that they have a replacement oem battery which is good. Only there.
Note: a bad battery swells (and can go leaking also) and presses the keyboard on the underside.