Ukraine's government faced pressure from protesters and foreign backers after attempt to take power from agencies.