12.5:1 with 2.0L displacement is safe with good fuel management and proper tuning. I wouldn't go too much higher than that. Make sure you use 93+ octane all the time.
As far as rpm, with a stock B20 block, I would stop at 9k. If you went with a sleeved B18 or B20 with good rods and pistons, you shouldn't have any problems almost to 9.5k. If you're going to go that high, though, make sure you have a valvetrain that can hold it without any valve float and cams that have substantial lift/duration in VTEC, or you'll just be beating the engine without any power gains up-top.