can Windows 8/8.1(pc) users control king,troops,spells with gamepad?

if yes then which gamepad should i buy?

Pretty sure movement is mouse only.  Since most gamepad software will let you map buttons to keyboard keys, you could probably map the other gamepad buttons to 1-3, 5-7, 9-0 and Q for the other hotkeys in the game.