NSW government to put cap on pokies