It was not a coup.
Yanukovich was a Putin-ist. The Ukrainian parliament overwhelmingly approved of a trade partnership with the EU and future possibility of joining that economic bloc. Yanukovich ditched the agreement unexpectedly which sparked the protests.
Yanukovich attempted to put down the protests by using the Berkut (Berkut had a history of illegal activities against Ukrainian citizens, such as racketeering, terrorism, physical violence, torture, anti-Ukrainian sentiment, voter intimidation and other secret police tactics against those who would elect non-Yanukovych candidates). In other words, Yanukovich was using a Putin playbook.
Unable to quell protests, Yanukovich left the city and the parliament voted 328 to zero to remove him from office. The Berkut was disbanded after a new president was elected.
Yanukovich, once elected, refused reforms which would have enabled Ukraine to get loans from the IMF and instead wanted to get financial support from Russia