Any such city shall have the power and authority to issue bonds as provided by law, and the proceeds derived from the sale of the same, or such part thereof as may be necessary, may be used by such city for the purpose of acquiring said grounds and for the purpose of purchasing, constructing or extending such waterworks.