I would say "on the beach" because we are talking about a physical location. They are on (top of) the beach. "With" would suggest that they are beside it, in its company.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.