I think your question is a duplicate of this: http://gis.stackexchange.com/questions/162967/zoom-on-click-openlayers-3 and it is already answered.