How much should you spend on a wedding gift?

How much should you spend on a wedding gift?

Two of my closest friends are getting married next week and I still need to buy them a wedding gift. I’ve known both of them for over ten years, and I’m going to be one of the groomsmen. Obviously I know what they like, but I don’t know what an appropriate amount should be to spend on a gift.