All you need to do is simply share a GIFs URL and when it’s displayed in your Twitter timeline. According to this post, it will automatically animate.
Here’s an example of how it will work:
All the GIFs are on Twitter. Let your emotions run wild: http://t.co/B7dKVvr6uI.
— GIPHY (@GIPHY) November 13, 2013