The 20% off code at the top of this page suits subscribers who want the biggest saving on coffee. It applies sitewide for subscribers, so it covers the whole basket rather than selected products.
Larger orders and shoppers who are not subscribers. If you are not on a subscription, the 20% code is not open to you, so the 10% off when you buy 2 bags deal is the one to look at. On a $60 order of two bags, for example, 10% off takes $6 off and leaves $54. Its terms say the two bags must be in your cart and it covers selected products only, so check the coffee you want is included.
Regular coffee drinkers on a subscription. If you already want coffee delivered on a schedule, the subscription deal of up to 17% off applies to regular deliveries, so it may beat the 10% deal on repeat orders. It is listed as up to 17%, so the rate you get depends on the subscription.