Lattice Boltzmann model for shallow water in curvilinear coordinate grid