Kyrgyz President Sooronbai Jeenbekov has declared a state of emergency in Bishkek just hours after saying he was prepared to resign.