How to create this animation?

Maybe take a look at the addon called Flow Map, it allows you to animate textures:
https://www.youtube.com/watch?v=xBsyIZ5Ojfk