Just say no to WD-40
Citrus degreaser is great if you can get the chain off the bike, Or simple Green even. Toss it all in a plastic coke bottle, and shake it around.
On the bike, use the Park or Pedros chain cleaner.
Rinse it, let it dry, then use the pro-link to lube it.