Your speed needs to be a variable lets call it SpeedA
Youd also want a base speed variable lets call it SpeedB
-- --
IF speed A <= speed limit
Every 0.1 Seconds (could also use tick, etc)
Key is down set speedA too speedA + 10
-- --
On key Released set speedA to speedB