Inflation held steady in February, though prices for goods like beef and coffee saw notable increases while prices for eggs and smartphones declined compared with last year.