The measure of input prices for Japanese firms rose 0.9% in May from a month earlier, and April's increase was revised higher, the Bank of Japan says.