Delta Air Lines and Lyft have launched a rewards program allowing users to earn flying miles by using the ride-sharing service.