First, you forgot the colon at the beginning of each line
:state=0,scancodekeypressed=72:movefore=10:state=2
:state=0,scancodekeypressed=75:forceleft=10:state=2
:state=0,scancodekeypressed=77:forceright=10:state=2
:state=0,scancodekeypressed=80:moveback=10:state=2
:state=2:state=0
Second, the third colons should be changed to commas
:state=0,scancodekeypressed=72:movefore=10,state=2
:state=0,scancodekeypressed=75:forceleft=10,state=2
:state=0,scancodekeypressed=77:forceright=10,state=2
:state=0,scancodekeypressed=80:moveback=10,state=2
:state=2:state=0
Third, if all state 2 is doing is setting state=0, then state 2 is not needed.
:state=0,scancodekeypressed=72:movefore=10
:state=0,scancodekeypressed=75:forceleft=10
:state=0,scancodekeypressed=77:forceright=10
:state=0,scancodekeypressed=80:moveback=10
Fourth, and this is something I doubt you would have known, forceleft, forceright, and moveback never seem to work, at least not for me, so I would suggest rotating the entity.
:state=0,scancodekeypressed=72:movefore=10
:state=0,scancodekeypressed=75:rotatey=-90,movefore=10
:state=0,scancodekeypressed=77:rotatey=90,movefore=10
:state=0,scancodekeypressed=80:rotatey=180,movefore=10
EDIT: Fixed it thanks Ocho, I'm glad I added the example code
Hope This Helps