Under the agreement, the companies have agreed to sell only water, unsweetened juice and low-fat milks to elementary and middle schools.