With your dog on leash, walk him over to the bed and put him in a down/stay and say, Go to your bed. Treat him when he lies down. Every time he gets up just, say Nope and calmly walk him back to the bed and repeat the command. Increase the amount of time after you say the command and offer the reward.