Web-based digital currency bitcoin hit its highest levels in almost three years on Friday, extending gains since India sparked a cash shortage by removing high-denomination bank notes from circulation a month ago.