The peroxide will react with orgaics in the beer, oxidising them. There will be no peroxide left, but you have oxygenated your beer and produced a whole bunch of nasty off flavours.
Safe to drink = yes,
tastes good = maybe not, depends how much peroxide was left in the airlock, it's possible you have sucked water into your beer.