Player Sliding in 2D

Hello Unity! I am making a 2D topdown game. I have the basic player controller on my player, and it works pretty well, except it accelerates the more i move, and it slides once I stop moving. How could I make my player move just when I press the arrow keys? I want my player to move like the player in Pokemon moves.

you can change the velocity of the rigidbody
GetComponent Rigidbody2D ().velocity.x = (jumpSpeed * 1);

Thanks dude! I found a video that teaches me how to do it.