US doughnut maker and retailer Krispy Kreme Doughnuts has signed a joint venture agreement with a Mexican company to open 20 stores throughout Mexico over the next six years.