Klay Thompson and Steph Curry had 20 points each as the Golden State Warriors beat the Milwaukee Bucks 105-95 to avenge their heavy defeat earlier in the season.