The food delivery firm, set to be valued at $7bn (£5bn), will also offer shares to takeaway customers.