Lyft Inc posted a jump in revenue on Wednesday in its second-quarter results, allowing the ride-hailing company to lift its forecasts as more riders used the service and price competition with rival Uber eased.