I believe that [this post][1] contains an answer to your question. [1]: https://mathoverflow.net/questions/24845/explicit-cocycle-for-the-central-extension-of-the-algebraic-loop-group-gct