wasd animation when pressed

I want my players arms to move when I am pressing the wasd key, How would I do this? any help would be great

Animation.Blend and AnimationState.blendMode.